package com.testdocs.client.validation;

import java.io.Serializable;

@SuppressWarnings("serial")
public class SimpleConstraint implements FieldConstraint, Serializable {
	private String message;
	private String field;
	
	public SimpleConstraint() {
	}

	public SimpleConstraint(String message, String field) {
		this.message = message;
		this.field = field;
	}
	
	public void setMessage(String message) {
		this.message = message;
	}

	public void setField(String field) {
		this.field = field;
	}

	public String getMessage() {
		return message;
	}

	@Override
	public String getField() {
		return field;
	}
}
